package sg.edu.ntu.metaweb.pastry.messages;

import java.net.URL;

import rice.p2p.commonapi.Id;
import rice.p2p.commonapi.Message;
import sg.edu.ntu.metaweb.storage.data.Rating;



public class RequestRateWebpageMessage extends MetawebMessage {

	URL url;
	Rating rating;
	  
	public RequestRateWebpageMessage(Id sender, Id targetID, int requestID, URL url, Rating rating) {
	    super(sender, targetID, requestID);
	    this.url = url;
	    this.rating = rating;
	}
	  
	public int getPriority() {
	    return Message.LOW_PRIORITY;
	}

	public URL getUrl() {
		return url;
	}

	public Rating getRating() {
		return rating;
	}
	
	
}
